package com.mybatis.panel;

import javax.swing.*;

public class MainJFrame {

    public static final JFrame jFrame = new JFrame("学籍管理系统");

    public static int userType = 1;

    public static void main(String[] args) {
        jFrame.setSize(300, 300);
        jFrame.setLayout(null);
        jFrame.setLocationRelativeTo(null);
        jFrame.setVisible(true);

        //jFrame.setContentPane(new StudentPanel());
        jFrame.setContentPane(new LoginPanel());
        jFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    }

    public static void setPanel(JPanel panel) {
        jFrame.setContentPane(panel);
    }

}
